unit Blitz3DSdk;
interface
function Version():Integer;cdecl; external 'b3d' name 'bbVersion';
procedure SetBlitz3DDebugMode(debugmode:Integer);cdecl; external 'b3d' name 'bbSetBlitz3DDebugMode';
procedure SetBlitz3DHWND(hwndparent:Integer);cdecl; external 'b3d' name 'bbSetBlitz3DHWND';
procedure SetBlitz3DTitle(title:PChar;close:PChar);cdecl; external 'b3d' name 'bbSetBlitz3DTitle';
function BeginBlitz3D():Integer;cdecl; external 'b3d' name 'bbBeginBlitz3D';
procedure EndBlitz3D();cdecl; external 'b3d' name 'bbEndBlitz3D';
procedure RuntimeError(error:PChar);cdecl; external 'b3d' name 'bbRuntimeError';
function SystemProperty(name:PChar):PChar;cdecl; external 'b3d' name 'bbSystemProperty';
function MilliSecs():Integer;cdecl; external 'b3d' name 'bbMilliSecs';
procedure Delay(ms:Integer);cdecl; external 'b3d' name 'bbDelay';
procedure ShowPointer();cdecl; external 'b3d' name 'bbShowPointer';
procedure HidePointer();cdecl; external 'b3d' name 'bbHidePointer';
function CreateTimer(hz:Integer):Integer;cdecl; external 'b3d' name 'bbCreateTimer';
procedure FreeTimer(timer:Integer);cdecl; external 'b3d' name 'bbFreeTimer';
procedure WaitTimer(timer:Integer);cdecl; external 'b3d' name 'bbWaitTimer';
function KeyDown(n:Integer):Integer;cdecl; external 'b3d' name 'bbKeyDown';
function KeyHit(n:Integer):Integer;cdecl; external 'b3d' name 'bbKeyHit';
function GetKey():Integer;cdecl; external 'b3d' name 'bbGetKey';
function WaitKey():Integer;cdecl; external 'b3d' name 'bbWaitKey';
procedure FlushKeys();cdecl; external 'b3d' name 'bbFlushKeys';
function MouseDown(n:Integer):Integer;cdecl; external 'b3d' name 'bbMouseDown';
function MouseHit(n:Integer):Integer;cdecl; external 'b3d' name 'bbMouseHit';
function GetMouse():Integer;cdecl; external 'b3d' name 'bbGetMouse';
function WaitMouse():Integer;cdecl; external 'b3d' name 'bbWaitMouse';
function MouseX():Integer;cdecl; external 'b3d' name 'bbMouseX';
function MouseY():Integer;cdecl; external 'b3d' name 'bbMouseY';
function MouseZ():Integer;cdecl; external 'b3d' name 'bbMouseZ';
function MouseXSpeed():Integer;cdecl; external 'b3d' name 'bbMouseXSpeed';
function MouseYSpeed():Integer;cdecl; external 'b3d' name 'bbMouseYSpeed';
function MouseZSpeed():Integer;cdecl; external 'b3d' name 'bbMouseZSpeed';
procedure MoveMouse(x:Integer;y:Integer);cdecl; external 'b3d' name 'bbMoveMouse';
procedure FlushMouse();cdecl; external 'b3d' name 'bbFlushMouse';
function JoyType(port:Integer=0):Integer;cdecl; external 'b3d' name 'bbJoyType';
function JoyDown(n:Integer;port:Integer=0):Integer;cdecl; external 'b3d' name 'bbJoyDown';
function JoyHit(n:Integer;port:Integer=0):Integer;cdecl; external 'b3d' name 'bbJoyHit';
function GetJoy(port:Integer=0):Integer;cdecl; external 'b3d' name 'bbGetJoy';
function WaitJoy(port:Integer=0):Integer;cdecl; external 'b3d' name 'bbWaitJoy';
function JoyX(port:Integer=0):Single;cdecl; external 'b3d' name 'bbJoyX';
function JoyY(port:Integer=0):Single;cdecl; external 'b3d' name 'bbJoyY';
function JoyZ(port:Integer=0):Single;cdecl; external 'b3d' name 'bbJoyZ';
function JoyU(port:Integer=0):Single;cdecl; external 'b3d' name 'bbJoyU';
function JoyV(port:Integer=0):Single;cdecl; external 'b3d' name 'bbJoyV';
function JoyPitch(port:Integer=0):Single;cdecl; external 'b3d' name 'bbJoyPitch';
function JoyYaw(port:Integer=0):Single;cdecl; external 'b3d' name 'bbJoyYaw';
function JoyRoll(port:Integer=0):Single;cdecl; external 'b3d' name 'bbJoyRoll';
function JoyHat(port:Integer=0):Integer;cdecl; external 'b3d' name 'bbJoyHat';
function JoyXDir(port:Integer=0):Integer;cdecl; external 'b3d' name 'bbJoyXDir';
function JoyYDir(port:Integer=0):Integer;cdecl; external 'b3d' name 'bbJoyYDir';
function JoyZDir(port:Integer=0):Integer;cdecl; external 'b3d' name 'bbJoyZDir';
function JoyUDir(port:Integer=0):Integer;cdecl; external 'b3d' name 'bbJoyUDir';
function JoyVDir(port:Integer=0):Integer;cdecl; external 'b3d' name 'bbJoyVDir';
procedure FlushJoy();cdecl; external 'b3d' name 'bbFlushJoy';
function LoadSound(src:PChar;flags:Integer=0):Integer;cdecl; external 'b3d' name 'bbLoadSound';
procedure FreeSound(sound:Integer);cdecl; external 'b3d' name 'bbFreeSound';
function PlaySound(sound:Integer):Integer;cdecl; external 'b3d' name 'bbPlaySound';
procedure LoopSound(sound:Integer);cdecl; external 'b3d' name 'bbLoopSound';
procedure SoundPitch(sound:Integer;pitch:Integer);cdecl; external 'b3d' name 'bbSoundPitch';
procedure SoundVolume(sound:Integer;volume:Single);cdecl; external 'b3d' name 'bbSoundVolume';
procedure SoundPan(sound:Integer;pan:Single);cdecl; external 'b3d' name 'bbSoundPan';
function PlayMusic(src:PChar;mode:Integer=1):Integer;cdecl; external 'b3d' name 'bbPlayMusic';
function PlayCDTrack(track:Integer;mode:Integer=1):Integer;cdecl; external 'b3d' name 'bbPlayCDTrack';
procedure StopChannel(channel:Integer);cdecl; external 'b3d' name 'bbStopChannel';
procedure PauseChannel(channel:Integer);cdecl; external 'b3d' name 'bbPauseChannel';
procedure ResumeChannel(channel:Integer);cdecl; external 'b3d' name 'bbResumeChannel';
procedure ChannelPitch(channel:Integer;pitch:Integer);cdecl; external 'b3d' name 'bbChannelPitch';
procedure ChannelVolume(channel:Integer;volume:Single);cdecl; external 'b3d' name 'bbChannelVolume';
procedure ChannelPan(channel:Integer;pan:Single);cdecl; external 'b3d' name 'bbChannelPan';
function ChannelPlaying(channel:Integer):Integer;cdecl; external 'b3d' name 'bbChannelPlaying';
procedure Graphics3D(w:Integer;h:Integer;d:Integer=0;mode:Integer=0);cdecl; external 'b3d' name 'bbGraphics3D';
function CountGfxDrivers():Integer;cdecl; external 'b3d' name 'bbCountGfxDrivers';
function GfxDriverName(n:Integer):PChar;cdecl; external 'b3d' name 'bbGfxDriverName';
function GfxDriver3D(n:Integer):Integer;cdecl; external 'b3d' name 'bbGfxDriver3D';
function GfxDriverCaps3D():Integer;cdecl; external 'b3d' name 'bbGfxDriverCaps3D';
function CountGfxModes3D():Integer;cdecl; external 'b3d' name 'bbCountGfxModes3D';
function GfxMode3DExists(w:Integer;h:Integer;d:Integer):Integer;cdecl; external 'b3d' name 'bbGfxMode3DExists';
function GfxMode3D(n:Integer):Integer;cdecl; external 'b3d' name 'bbGfxMode3D';
function Windowed3D():Integer;cdecl; external 'b3d' name 'bbWindowed3D';
function GfxDriverX(n:Integer):Integer;cdecl; external 'b3d' name 'bbGfxDriverX';
function GfxDriverY(n:Integer):Integer;cdecl; external 'b3d' name 'bbGfxDriverY';
function GfxDriverHz(n:Integer):Integer;cdecl; external 'b3d' name 'bbGfxDriverHz';
procedure SetGfxDriver(n:Integer);cdecl; external 'b3d' name 'bbSetGfxDriver';
function GfxModeExists(w:Integer;h:Integer;d:Integer):Integer;cdecl; external 'b3d' name 'bbGfxModeExists';
function CountGfxModes():Integer;cdecl; external 'b3d' name 'bbCountGfxModes';
function GfxModeWidth(n:Integer):Integer;cdecl; external 'b3d' name 'bbGfxModeWidth';
function GfxModeHeight(n:Integer):Integer;cdecl; external 'b3d' name 'bbGfxModeHeight';
function GfxModeDepth(n:Integer):Integer;cdecl; external 'b3d' name 'bbGfxModeDepth';
function GraphicsWidth():Integer;cdecl; external 'b3d' name 'bbGraphicsWidth';
function GraphicsHeight():Integer;cdecl; external 'b3d' name 'bbGraphicsHeight';
function GraphicsDepth():Integer;cdecl; external 'b3d' name 'bbGraphicsDepth';
function AvailVidMem():Integer;cdecl; external 'b3d' name 'bbAvailVidMem';
function TotalVidMem():Integer;cdecl; external 'b3d' name 'bbTotalVidMem';
procedure Graphics(w:Integer;h:Integer;d:Integer;mode:Integer);cdecl; external 'b3d' name 'bbGraphics';
function FrontBuffer():Integer;cdecl; external 'b3d' name 'bbFrontBuffer';
function BackBuffer():Integer;cdecl; external 'b3d' name 'bbBackBuffer';
procedure EndGraphics();cdecl; external 'b3d' name 'bbEndGraphics';
function GraphicsLost():Integer;cdecl; external 'b3d' name 'bbGraphicsLost';
function ScanLine():Integer;cdecl; external 'b3d' name 'bbScanLine';
procedure VWait(n:Integer);cdecl; external 'b3d' name 'bbVWait';
procedure Flip(vwait:Integer=1);cdecl; external 'b3d' name 'bbFlip';
procedure Paint(hwnd:Integer);cdecl; external 'b3d' name 'bbPaint';
procedure SetBuffer(buff:Integer);cdecl; external 'b3d' name 'bbSetBuffer';
function GraphicsBuffer():Integer;cdecl; external 'b3d' name 'bbGraphicsBuffer';
function LoadBuffer(surf:Integer;str:PChar):Integer;cdecl; external 'b3d' name 'bbLoadBuffer';
function SaveBuffer(surf:Integer;str:PChar):Integer;cdecl; external 'b3d' name 'bbSaveBuffer';
procedure BufferDirty(buffer:Integer);cdecl; external 'b3d' name 'bbBufferDirty';
procedure AutoBufferDirty(enable:Integer);cdecl; external 'b3d' name 'bbAutoBufferDirty';
procedure LockBuffer(buff:Integer);cdecl; external 'b3d' name 'bbLockBuffer';
procedure UnlockBuffer(buff:Integer);cdecl; external 'b3d' name 'bbUnlockBuffer';
function ReadPixel(x:Integer;y:Integer;buff:Integer):Integer;cdecl; external 'b3d' name 'bbReadPixel';
procedure WritePixel(x:Integer;y:Integer;argb:Integer;buff:Integer);cdecl; external 'b3d' name 'bbWritePixel';
function ReadPixelFast(x:Integer;y:Integer;buff:Integer):Integer;cdecl; external 'b3d' name 'bbReadPixelFast';
procedure WritePixelFast(x:Integer;y:Integer;argb:Integer;buff:Integer);cdecl; external 'b3d' name 'bbWritePixelFast';
procedure CopyPixel(src_x:Integer;src_y:Integer;src:Integer;dest_x:Integer;dest_y:Integer;buff:Integer);cdecl; external 'b3d' name 'bbCopyPixel';
procedure CopyPixelFast(src_x:Integer;src_y:Integer;src:Integer;dest_x:Integer;dest_y:Integer;buff:Integer);cdecl; external 'b3d' name 'bbCopyPixelFast';
procedure Origin(x:Integer;y:Integer);cdecl; external 'b3d' name 'bbOrigin';
procedure Viewport(x:Integer;y:Integer;w:Integer;h:Integer);cdecl; external 'b3d' name 'bbViewport';
procedure Color(r:Integer;g:Integer;b:Integer);cdecl; external 'b3d' name 'bbColor';
procedure ClsColor(r:Integer;g:Integer;b:Integer);cdecl; external 'b3d' name 'bbClsColor';
procedure Cls();cdecl; external 'b3d' name 'bbCls';
procedure Plot(x:Integer;y:Integer);cdecl; external 'b3d' name 'bbPlot';
procedure Line(x1:Integer;y1:Integer;x2:Integer;y2:Integer);cdecl; external 'b3d' name 'bbLine';
procedure Rect(x:Integer;y:Integer;w:Integer;h:Integer;solid:Integer=1);cdecl; external 'b3d' name 'bbRect';
procedure Oval(x:Integer;y:Integer;w:Integer;h:Integer;solid:Integer=1);cdecl; external 'b3d' name 'bbOval';
procedure Text(x:Integer;y:Integer;t:PChar;centre_x:Integer=0;centre_y:Integer=0);cdecl; external 'b3d' name 'bbText';
procedure CopyRect(sx:Integer;sy:Integer;w:Integer;h:Integer;dx:Integer;dy:Integer;src:Integer;dest:Integer);cdecl; external 'b3d' name 'bbCopyRect';
procedure GetColor(x:Integer;y:Integer);cdecl; external 'b3d' name 'bbGetColor';
function ColorRed():Integer;cdecl; external 'b3d' name 'bbColorRed';
function ColorGreen():Integer;cdecl; external 'b3d' name 'bbColorGreen';
function ColorBlue():Integer;cdecl; external 'b3d' name 'bbColorBlue';
function LoadFont(name:PChar;height:Integer;bold:Integer;italic:Integer;underline:Integer):Integer;cdecl; external 'b3d' name 'bbLoadFont';
procedure FreeFont(f:Integer);cdecl; external 'b3d' name 'bbFreeFont';
procedure SetFont(f:Integer);cdecl; external 'b3d' name 'bbSetFont';
function FontWidth():Integer;cdecl; external 'b3d' name 'bbFontWidth';
function FontHeight():Integer;cdecl; external 'b3d' name 'bbFontHeight';
function StringWidth(str:PChar):Integer;cdecl; external 'b3d' name 'bbStringWidth';
function StringHeight(str:PChar):Integer;cdecl; external 'b3d' name 'bbStringHeight';
function LoadImage(s:PChar):Integer;cdecl; external 'b3d' name 'bbLoadImage';
function CopyImage(sourceimage:Integer):Integer;cdecl; external 'b3d' name 'bbCopyImage';
function CreateImage(w:Integer;h:Integer;n:Integer):Integer;cdecl; external 'b3d' name 'bbCreateImage';
function LoadAnimImage(s:PChar;w:Integer;h:Integer;first:Integer;cnt:Integer):Integer;cdecl; external 'b3d' name 'bbLoadAnimImage';
procedure FreeImage(i:Integer);cdecl; external 'b3d' name 'bbFreeImage';
function SaveImage(i:Integer;filename:PChar;frame:Integer):Integer;cdecl; external 'b3d' name 'bbSaveImage';
procedure GrabImage(i:Integer;x:Integer;y:Integer;n:Integer);cdecl; external 'b3d' name 'bbGrabImage';
function ImageBuffer(i:Integer;n:Integer):Integer;cdecl; external 'b3d' name 'bbImageBuffer';
procedure DrawImage(i:Integer;x:Integer;y:Integer;frame:Integer);cdecl; external 'b3d' name 'bbDrawImage';
procedure DrawBlock(i:Integer;x:Integer;y:Integer;frame:Integer);cdecl; external 'b3d' name 'bbDrawBlock';
procedure TileImage(i:Integer;x:Integer;y:Integer;frame:Integer);cdecl; external 'b3d' name 'bbTileImage';
procedure TileBlock(i:Integer;x:Integer;y:Integer;frame:Integer);cdecl; external 'b3d' name 'bbTileBlock';
procedure DrawImageRect(i:Integer;x:Integer;y:Integer;r_x:Integer;r_y:Integer;r_w:Integer;r_h:Integer;frame:Integer);cdecl; external 'b3d' name 'bbDrawImageRect';
procedure DrawBlockRect(i:Integer;x:Integer;y:Integer;r_x:Integer;r_y:Integer;r_w:Integer;r_h:Integer;frame:Integer);cdecl; external 'b3d' name 'bbDrawBlockRect';
procedure MaskImage(i:Integer;r:Integer;g:Integer;b:Integer);cdecl; external 'b3d' name 'bbMaskImage';
procedure HandleImage(i:Integer;x:Integer;y:Integer);cdecl; external 'b3d' name 'bbHandleImage';
procedure ScaleImage(i:Integer;w:Single;h:Single);cdecl; external 'b3d' name 'bbScaleImage';
procedure ResizeImage(i:Integer;w:Single;h:Single);cdecl; external 'b3d' name 'bbResizeImage';
procedure RotateImage(i:Integer;angle:Single);cdecl; external 'b3d' name 'bbRotateImage';
procedure TFormImage(i:Integer;a:Single;b:Single;c:Single;d:Single);cdecl; external 'b3d' name 'bbTFormImage';
procedure TFormFilter(enable:Integer);cdecl; external 'b3d' name 'bbTFormFilter';
procedure AutoMidHandle(enable:Integer);cdecl; external 'b3d' name 'bbAutoMidHandle';
procedure MidHandle(i:Integer);cdecl; external 'b3d' name 'bbMidHandle';
function ImageWidth(i:Integer):Integer;cdecl; external 'b3d' name 'bbImageWidth';
function ImageHeight(i:Integer):Integer;cdecl; external 'b3d' name 'bbImageHeight';
function ImageXHandle(i:Integer):Integer;cdecl; external 'b3d' name 'bbImageXHandle';
function ImageYHandle(i:Integer):Integer;cdecl; external 'b3d' name 'bbImageYHandle';
function ImagesOverlap(i1:Integer;x1:Integer;y1:Integer;i2:Integer;x2:Integer;y2:Integer):Integer;cdecl; external 'b3d' name 'bbImagesOverlap';
function ImagesCollide(i1:Integer;x1:Integer;y1:Integer;f1:Integer;i2:Integer;x2:Integer;y2:Integer;f2:Integer):Integer;cdecl; external 'b3d' name 'bbImagesCollide';
function RectsOverlap(x1:Integer;y1:Integer;w1:Integer;h1:Integer;x2:Integer;y2:Integer;w2:Integer;h2:Integer):Integer;cdecl; external 'b3d' name 'bbRectsOverlap';
function ImageRectOverlap(i:Integer;x:Integer;y:Integer;r_x:Integer;r_y:Integer;r_w:Integer;r_h:Integer):Integer;cdecl; external 'b3d' name 'bbImageRectOverlap';
function ImageRectCollide(i:Integer;x:Integer;y:Integer;f:Integer;r_x:Integer;r_y:Integer;r_w:Integer;r_h:Integer):Integer;cdecl; external 'b3d' name 'bbImageRectCollide';
procedure Write(str:PChar);cdecl; external 'b3d' name 'bbWrite';
procedure Print(str:PChar);cdecl; external 'b3d' name 'bbPrint';
function Input(prompt:PChar):PChar;cdecl; external 'b3d' name 'bbInput';
procedure Locate(x:Integer;y:Integer);cdecl; external 'b3d' name 'bbLocate';
function OpenMovie(s:PChar):Integer;cdecl; external 'b3d' name 'bbOpenMovie';
function DrawMovie(movie:Integer;x:Integer;y:Integer;w:Integer;h:Integer):Integer;cdecl; external 'b3d' name 'bbDrawMovie';
function MovieWidth(movie:Integer):Integer;cdecl; external 'b3d' name 'bbMovieWidth';
function MovieHeight(movie:Integer):Integer;cdecl; external 'b3d' name 'bbMovieHeight';
function MoviePlaying(movie:Integer):Integer;cdecl; external 'b3d' name 'bbMoviePlaying';
procedure CloseMovie(movie:Integer);cdecl; external 'b3d' name 'bbCloseMovie';
procedure SetGamma(r:Integer;g:Integer;b:Integer;dr:Single;dg:Single;db:Single);cdecl; external 'b3d' name 'bbSetGamma';
procedure UpdateGamma(calibrate:Integer);cdecl; external 'b3d' name 'bbUpdateGamma';
function GammaRed(n:Integer):Single;cdecl; external 'b3d' name 'bbGammaRed';
function GammaGreen(n:Integer):Single;cdecl; external 'b3d' name 'bbGammaGreen';
function GammaBlue(n:Integer):Single;cdecl; external 'b3d' name 'bbGammaBlue';
procedure LoaderMatrix(ext:PChar;xx:Single;xy:Single;xz:Single;yx:Single;yy:Single;yz:Single;zx:Single;zy:Single;zz:Single);cdecl; external 'b3d' name 'bbLoaderMatrix';
function HWTexUnits():Integer;cdecl; external 'b3d' name 'bbHWTexUnits';
procedure HWMultiTex(enable:Integer);cdecl; external 'b3d' name 'bbHWMultiTex';
procedure WBuffer(enable:Integer);cdecl; external 'b3d' name 'bbWBuffer';
procedure Dither(enable:Integer);cdecl; external 'b3d' name 'bbDither';
procedure AntiAlias(enable:Integer);cdecl; external 'b3d' name 'bbAntiAlias';
procedure WireFrame(enable:Integer);cdecl; external 'b3d' name 'bbWireFrame';
procedure AmbientLight(r:Single;g:Single;b:Single);cdecl; external 'b3d' name 'bbAmbientLight';
procedure ClearCollisions();cdecl; external 'b3d' name 'bbClearCollisions';
procedure Collisions(src_type:Integer;dest_type:Integer;method:Integer;response:Integer);cdecl; external 'b3d' name 'bbCollisions';
procedure UpdateWorld(elapsed:Single=1.0);cdecl; external 'b3d' name 'bbUpdateWorld';
procedure RenderWorld(tween:Single=1.0);cdecl; external 'b3d' name 'bbRenderWorld';
procedure CaptureWorld();cdecl; external 'b3d' name 'bbCaptureWorld';
function TrisRendered():Integer;cdecl; external 'b3d' name 'bbTrisRendered';
function Stats3D(n:Integer):Single;cdecl; external 'b3d' name 'bbStats3D';
function LoadTexture(filename:PChar;flags:Integer=1):Integer;cdecl; external 'b3d' name 'bbLoadTexture';
function CreateTexture(w:Integer;h:Integer;flags:Integer=3;frames:Integer=1):Integer;cdecl; external 'b3d' name 'bbCreateTexture';
function LoadAnimTexture(filename:PChar;flags:Integer;w:Integer;h:Integer;first:Integer;cnt:Integer):Integer;cdecl; external 'b3d' name 'bbLoadAnimTexture';
procedure FreeTexture(t:Integer);cdecl; external 'b3d' name 'bbFreeTexture';
procedure TextureBlend(t:Integer;blend:Integer);cdecl; external 'b3d' name 'bbTextureBlend';
procedure TextureCoords(t:Integer;flags:Integer);cdecl; external 'b3d' name 'bbTextureCoords';
procedure ScaleTexture(t:Integer;u_scale:Single;v_scale:Single);cdecl; external 'b3d' name 'bbScaleTexture';
procedure RotateTexture(t:Integer;angle:Single);cdecl; external 'b3d' name 'bbRotateTexture';
procedure PositionTexture(t:Integer;u_pos:Single;v_pos:Single);cdecl; external 'b3d' name 'bbPositionTexture';
function TextureWidth(t:Integer):Integer;cdecl; external 'b3d' name 'bbTextureWidth';
function TextureHeight(t:Integer):Integer;cdecl; external 'b3d' name 'bbTextureHeight';
function TextureName(t:Integer):PChar;cdecl; external 'b3d' name 'bbTextureName';
procedure SetCubeFace(t:Integer;face:Integer);cdecl; external 'b3d' name 'bbSetCubeFace';
procedure SetCubeMode(t:Integer;mode:Integer);cdecl; external 'b3d' name 'bbSetCubeMode';
function TextureBuffer(t:Integer;frame:Integer=0):Integer;cdecl; external 'b3d' name 'bbTextureBuffer';
procedure ClearTextureFilters();cdecl; external 'b3d' name 'bbClearTextureFilters';
procedure TextureFilter(t:PChar;flags:Integer);cdecl; external 'b3d' name 'bbTextureFilter';
function CreateBrush(r:Single=255.0;g:Single=255.0;b:Single=255.0):Integer;cdecl; external 'b3d' name 'bbCreateBrush';
function LoadBrush(filename:PChar;flags:Integer=1;u_scale:Single=1.0;v_scale:Single=1.0):Integer;cdecl; external 'b3d' name 'bbLoadBrush';
procedure FreeBrush(b:Integer);cdecl; external 'b3d' name 'bbFreeBrush';
procedure BrushColor(br:Integer;r:Single;g:Single;b:Single);cdecl; external 'b3d' name 'bbBrushColor';
procedure BrushAlpha(b:Integer;alpha:Single);cdecl; external 'b3d' name 'bbBrushAlpha';
procedure BrushShininess(b:Integer;n:Single);cdecl; external 'b3d' name 'bbBrushShininess';
procedure BrushTexture(b:Integer;t:Integer;frame:Integer;index:Integer);cdecl; external 'b3d' name 'bbBrushTexture';
function GetBrushTexture(b:Integer;index:Integer):Integer;cdecl; external 'b3d' name 'bbGetBrushTexture';
procedure BrushBlend(b:Integer;blend:Integer);cdecl; external 'b3d' name 'bbBrushBlend';
procedure BrushFX(b:Integer;fx:Integer);cdecl; external 'b3d' name 'bbBrushFX';
function CreateMesh(p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateMesh';
function LoadMesh(f:PChar;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbLoadMesh';
function LoadAnimMesh(f:PChar;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbLoadAnimMesh';
function CreateCube(p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateCube';
function CreateSphere(segs:Integer=8;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateSphere';
function CreateCylinder(segs:Integer=8;solid:Integer=1;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateCylinder';
function CreateCone(segs:Integer=8;solid:Integer=1;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateCone';
function CopyMesh(m:Integer;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCopyMesh';
procedure ScaleMesh(m:Integer;x:Single;y:Single;z:Single);cdecl; external 'b3d' name 'bbScaleMesh';
procedure RotateMesh(m:Integer;x:Single;y:Single;z:Single);cdecl; external 'b3d' name 'bbRotateMesh';
procedure PositionMesh(m:Integer;x:Single;y:Single;z:Single);cdecl; external 'b3d' name 'bbPositionMesh';
procedure FitMesh(m:Integer;x:Single;y:Single;z:Single;w:Single;h:Single;d:Single;uniform:Integer=0);cdecl; external 'b3d' name 'bbFitMesh';
procedure FlipMesh(m:Integer);cdecl; external 'b3d' name 'bbFlipMesh';
procedure PaintMesh(m:Integer;b:Integer);cdecl; external 'b3d' name 'bbPaintMesh';
procedure AddMesh(src:Integer;dest:Integer);cdecl; external 'b3d' name 'bbAddMesh';
procedure UpdateNormals(m:Integer);cdecl; external 'b3d' name 'bbUpdateNormals';
procedure LightMesh(m:Integer;r:Single;g:Single;b:Single;range:Single;x:Single;y:Single;z:Single);cdecl; external 'b3d' name 'bbLightMesh';
function MeshWidth(m:Integer):Single;cdecl; external 'b3d' name 'bbMeshWidth';
function MeshHeight(m:Integer):Single;cdecl; external 'b3d' name 'bbMeshHeight';
function MeshDepth(m:Integer):Single;cdecl; external 'b3d' name 'bbMeshDepth';
function MeshesIntersect(a:Integer;b:Integer):Integer;cdecl; external 'b3d' name 'bbMeshesIntersect';
function CountSurfaces(m:Integer):Integer;cdecl; external 'b3d' name 'bbCountSurfaces';
function GetSurface(m:Integer;index:Integer):Integer;cdecl; external 'b3d' name 'bbGetSurface';
procedure MeshCullBox(m:Integer;x:Single;y:Single;z:Single;w:Single;h:Single;d:Single);cdecl; external 'b3d' name 'bbMeshCullBox';
function CreateSurface(m:Integer;b:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateSurface';
function FindSurface(m:Integer;b:Integer):Integer;cdecl; external 'b3d' name 'bbFindSurface';
function GetSurfaceBrush(s:Integer):Integer;cdecl; external 'b3d' name 'bbGetSurfaceBrush';
function GetEntityBrush(m:Integer):Integer;cdecl; external 'b3d' name 'bbGetEntityBrush';
procedure ClearSurface(s:Integer;verts:Integer;tris:Integer);cdecl; external 'b3d' name 'bbClearSurface';
procedure PaintSurface(s:Integer;b:Integer);cdecl; external 'b3d' name 'bbPaintSurface';
function AddVertex(s:Integer;x:Single;y:Single;z:Single;tu:Single=0.0;tv:Single=0.0;tw:Single=0.0):Integer;cdecl; external 'b3d' name 'bbAddVertex';
function AddTriangle(s:Integer;v0:Integer;v1:Integer;v2:Integer):Integer;cdecl; external 'b3d' name 'bbAddTriangle';
procedure VertexCoords(s:Integer;n:Integer;x:Single;y:Single;z:Single);cdecl; external 'b3d' name 'bbVertexCoords';
procedure VertexNormal(s:Integer;n:Integer;x:Single;y:Single;z:Single);cdecl; external 'b3d' name 'bbVertexNormal';
procedure VertexColor(s:Integer;n:Integer;r:Single;g:Single;b:Single;a:Single);cdecl; external 'b3d' name 'bbVertexColor';
procedure VertexTexCoords(s:Integer;n:Integer;u:Single;v:Single;w:Single;vset:Integer);cdecl; external 'b3d' name 'bbVertexTexCoords';
function CountVertices(s:Integer):Integer;cdecl; external 'b3d' name 'bbCountVertices';
function CountTriangles(s:Integer):Integer;cdecl; external 'b3d' name 'bbCountTriangles';
function VertexX(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexX';
function VertexY(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexY';
function VertexZ(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexZ';
function VertexNX(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexNX';
function VertexNY(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexNY';
function VertexNZ(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexNZ';
function VertexRed(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexRed';
function VertexGreen(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexGreen';
function VertexBlue(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexBlue';
function VertexAlpha(s:Integer;n:Integer):Single;cdecl; external 'b3d' name 'bbVertexAlpha';
function VertexU(s:Integer;n:Integer;t:Integer):Single;cdecl; external 'b3d' name 'bbVertexU';
function VertexV(s:Integer;n:Integer;t:Integer):Single;cdecl; external 'b3d' name 'bbVertexV';
function VertexW(s:Integer;n:Integer;t:Integer):Single;cdecl; external 'b3d' name 'bbVertexW';
function TriangleVertex(s:Integer;n:Integer;v:Integer):Integer;cdecl; external 'b3d' name 'bbTriangleVertex';
function CreateCamera(p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateCamera';
procedure CameraZoom(c:Integer;zoom:Single);cdecl; external 'b3d' name 'bbCameraZoom';
procedure CameraRange(c:Integer;nr:Single;fr:Single);cdecl; external 'b3d' name 'bbCameraRange';
procedure CameraClsColor(c:Integer;r:Single;g:Single;b:Single);cdecl; external 'b3d' name 'bbCameraClsColor';
procedure CameraClsMode(c:Integer;cls_color:Integer;cls_zbuffer:Integer);cdecl; external 'b3d' name 'bbCameraClsMode';
procedure CameraProjMode(c:Integer;mode:Integer);cdecl; external 'b3d' name 'bbCameraProjMode';
procedure CameraViewport(c:Integer;x:Integer;y:Integer;w:Integer;h:Integer);cdecl; external 'b3d' name 'bbCameraViewport';
procedure CameraFogRange(c:Integer;nr:Single;fr:Single);cdecl; external 'b3d' name 'bbCameraFogRange';
procedure CameraFogColor(c:Integer;r:Single;g:Single;b:Single);cdecl; external 'b3d' name 'bbCameraFogColor';
procedure CameraFogMode(c:Integer;mode:Integer);cdecl; external 'b3d' name 'bbCameraFogMode';
function CameraProject(c:Integer;x:Single;y:Single;z:Single):Integer;cdecl; external 'b3d' name 'bbCameraProject';
function ProjectedX():Single;cdecl; external 'b3d' name 'bbProjectedX';
function ProjectedY():Single;cdecl; external 'b3d' name 'bbProjectedY';
function ProjectedZ():Single;cdecl; external 'b3d' name 'bbProjectedZ';
function CameraPick(c:Integer;x:Single;y:Single):Integer;cdecl; external 'b3d' name 'bbCameraPick';
function LinePick(x:Single;y:Single;z:Single;dx:Single;dy:Single;dz:Single;radius:Single):Integer;cdecl; external 'b3d' name 'bbLinePick';
function EntityPick(src:Integer;range:Single):Integer;cdecl; external 'b3d' name 'bbEntityPick';
function EntityVisible(src:Integer;dest:Integer):Integer;cdecl; external 'b3d' name 'bbEntityVisible';
function EntityInView(e:Integer;c:Integer):Integer;cdecl; external 'b3d' name 'bbEntityInView';
function PickedX():Single;cdecl; external 'b3d' name 'bbPickedX';
function PickedY():Single;cdecl; external 'b3d' name 'bbPickedY';
function PickedZ():Single;cdecl; external 'b3d' name 'bbPickedZ';
function PickedNX():Single;cdecl; external 'b3d' name 'bbPickedNX';
function PickedNY():Single;cdecl; external 'b3d' name 'bbPickedNY';
function PickedNZ():Single;cdecl; external 'b3d' name 'bbPickedNZ';
function PickedTime():Single;cdecl; external 'b3d' name 'bbPickedTime';
function PickedEntity():Integer;cdecl; external 'b3d' name 'bbPickedEntity';
function PickedSurface():Integer;cdecl; external 'b3d' name 'bbPickedSurface';
function PickedTriangle():Integer;cdecl; external 'b3d' name 'bbPickedTriangle';
function CreateLight(etype:Integer=0;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateLight';
procedure LightColor(light:Integer;r:Single;g:Single;b:Single);cdecl; external 'b3d' name 'bbLightColor';
procedure LightRange(light:Integer;range:Single);cdecl; external 'b3d' name 'bbLightRange';
procedure LightConeAngles(light:Integer;inner:Single;outer:Single);cdecl; external 'b3d' name 'bbLightConeAngles';
function CreatePivot(p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreatePivot';
function CreateSprite(p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateSprite';
function LoadSprite(filename:PChar;flags:Integer=1;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbLoadSprite';
procedure RotateSprite(s:Integer;angle:Single);cdecl; external 'b3d' name 'bbRotateSprite';
procedure ScaleSprite(s:Integer;x:Single;y:Single);cdecl; external 'b3d' name 'bbScaleSprite';
procedure HandleSprite(s:Integer;x:Single;y:Single);cdecl; external 'b3d' name 'bbHandleSprite';
procedure SpriteViewMode(s:Integer;mode:Integer);cdecl; external 'b3d' name 'bbSpriteViewMode';
function CreateMirror(p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateMirror';
function CreatePlane(segs:Integer=1;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreatePlane';
function LoadMD2(filename:PChar;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbLoadMD2';
procedure AnimateMD2(m:Integer;mode:Integer=1;speed:Single=1.0;first:Integer=0;last:Integer=9999;trans:Single=0.0);cdecl; external 'b3d' name 'bbAnimateMD2';
function MD2AnimTime(m:Integer):Single;cdecl; external 'b3d' name 'bbMD2AnimTime';
function MD2AnimLength(m:Integer):Integer;cdecl; external 'b3d' name 'bbMD2AnimLength';
function MD2Animating(m:Integer):Integer;cdecl; external 'b3d' name 'bbMD2Animating';
function LoadBSP(filename:PChar;gam:Single;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbLoadBSP';
procedure BSPAmbientLight(t:Integer;r:Single;g:Single;b:Single);cdecl; external 'b3d' name 'bbBSPAmbientLight';
procedure BSPLighting(t:Integer;lmap:Integer);cdecl; external 'b3d' name 'bbBSPLighting';
function CreateTerrain(n:Integer;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCreateTerrain';
function LoadTerrain(filename:PChar;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbLoadTerrain';
procedure TerrainDetail(t:Integer;n:Integer;m:Integer);cdecl; external 'b3d' name 'bbTerrainDetail';
procedure TerrainShading(t:Integer;enable:Integer);cdecl; external 'b3d' name 'bbTerrainShading';
function TerrainX(t:Integer;x:Single;y:Single;z:Single):Single;cdecl; external 'b3d' name 'bbTerrainX';
function TerrainY(t:Integer;x:Single;y:Single;z:Single):Single;cdecl; external 'b3d' name 'bbTerrainY';
function TerrainZ(t:Integer;x:Single;y:Single;z:Single):Single;cdecl; external 'b3d' name 'bbTerrainZ';
function TerrainSize(t:Integer):Integer;cdecl; external 'b3d' name 'bbTerrainSize';
function TerrainHeight(t:Integer;x:Integer;z:Integer):Single;cdecl; external 'b3d' name 'bbTerrainHeight';
procedure ModifyTerrain(t:Integer;x:Integer;z:Integer;h:Single;realtime:Integer);cdecl; external 'b3d' name 'bbModifyTerrain';
function CreateListener(p:Integer=0;roll:Single=1.0;dopp:Single=1.0;dist:Single=1.0):Integer;cdecl; external 'b3d' name 'bbCreateListener';
function EmitSound(sound:Integer;o:Integer):Integer;cdecl; external 'b3d' name 'bbEmitSound';
function CopyEntity(e:Integer;p:Integer=0):Integer;cdecl; external 'b3d' name 'bbCopyEntity';
procedure FreeEntity(e:Integer);cdecl; external 'b3d' name 'bbFreeEntity';
procedure HideEntity(e:Integer);cdecl; external 'b3d' name 'bbHideEntity';
procedure ShowEntity(e:Integer);cdecl; external 'b3d' name 'bbShowEntity';
procedure EntityParent(e:Integer;p:Integer=0;global:Integer=1);cdecl; external 'b3d' name 'bbEntityParent';
function CountChildren(e:Integer):Integer;cdecl; external 'b3d' name 'bbCountChildren';
function GetChild(e:Integer;index:Integer):Integer;cdecl; external 'b3d' name 'bbGetChild';
function FindChild(e:Integer;t:PChar):Integer;cdecl; external 'b3d' name 'bbFindChild';
function LoadAnimSeq(o:Integer;f:PChar):Integer;cdecl; external 'b3d' name 'bbLoadAnimSeq';
procedure SetAnimTime(o:Integer;time:Single;seq:Integer);cdecl; external 'b3d' name 'bbSetAnimTime';
procedure Animate(o:Integer;mode:Integer=1;speed:Single=1.0;seq:Integer=0;trans:Single=0.0);cdecl; external 'b3d' name 'bbAnimate';
procedure SetAnimKey(o:Integer;frame:Integer;pos_key:Integer=1;rot_key:Integer=1;scl_key:Integer=1);cdecl; external 'b3d' name 'bbSetAnimKey';
function ExtractAnimSeq(o:Integer;first:Integer;last:Integer;seq:Integer):Integer;cdecl; external 'b3d' name 'bbExtractAnimSeq';
function AddAnimSeq(o:Integer;length:Integer):Integer;cdecl; external 'b3d' name 'bbAddAnimSeq';
function AnimSeq(o:Integer):Integer;cdecl; external 'b3d' name 'bbAnimSeq';
function AnimTime(o:Integer):Single;cdecl; external 'b3d' name 'bbAnimTime';
function AnimLength(o:Integer):Integer;cdecl; external 'b3d' name 'bbAnimLength';
function Animating(o:Integer):Integer;cdecl; external 'b3d' name 'bbAnimating';
procedure PaintEntity(e:Integer;b:Integer);cdecl; external 'b3d' name 'bbPaintEntity';
procedure EntityColor(m:Integer;r:Single;g:Single;b:Single);cdecl; external 'b3d' name 'bbEntityColor';
procedure EntityAlpha(m:Integer;alpha:Single);cdecl; external 'b3d' name 'bbEntityAlpha';
procedure EntityShininess(m:Integer;shininess:Single);cdecl; external 'b3d' name 'bbEntityShininess';
procedure EntityTexture(m:Integer;t:Integer;frame:Integer=0;index:Integer=0);cdecl; external 'b3d' name 'bbEntityTexture';
procedure EntityBlend(m:Integer;blend:Integer);cdecl; external 'b3d' name 'bbEntityBlend';
procedure EntityFX(m:Integer;fx:Integer);cdecl; external 'b3d' name 'bbEntityFX';
procedure EntityAutoFade(m:Integer;nr:Single;fr:Single);cdecl; external 'b3d' name 'bbEntityAutoFade';
procedure EntityOrder(o:Integer;n:Integer);cdecl; external 'b3d' name 'bbEntityOrder';
function EntityX(e:Integer;global:Integer=0):Single;cdecl; external 'b3d' name 'bbEntityX';
function EntityY(e:Integer;global:Integer=0):Single;cdecl; external 'b3d' name 'bbEntityY';
function EntityZ(e:Integer;global:Integer=0):Single;cdecl; external 'b3d' name 'bbEntityZ';
function EntityPitch(e:Integer;global:Integer=0):Single;cdecl; external 'b3d' name 'bbEntityPitch';
function EntityYaw(e:Integer;global:Integer=0):Single;cdecl; external 'b3d' name 'bbEntityYaw';
function EntityRoll(e:Integer;global:Integer=0):Single;cdecl; external 'b3d' name 'bbEntityRoll';
function GetMatElement(e:Integer;row:Integer;col:Integer):Single;cdecl; external 'b3d' name 'bbGetMatElement';
procedure TFormPoint(x:Single;y:Single;z:Single;src:Integer;dest:Integer);cdecl; external 'b3d' name 'bbTFormPoint';
procedure TFormVector(x:Single;y:Single;z:Single;src:Integer;dest:Integer);cdecl; external 'b3d' name 'bbTFormVector';
procedure TFormNormal(x:Single;y:Single;z:Single;src:Integer;dest:Integer);cdecl; external 'b3d' name 'bbTFormNormal';
function TFormedX():Single;cdecl; external 'b3d' name 'bbTFormedX';
function TFormedY():Single;cdecl; external 'b3d' name 'bbTFormedY';
function TFormedZ():Single;cdecl; external 'b3d' name 'bbTFormedZ';
function VectorYaw(x:Single;y:Single;z:Single):Single;cdecl; external 'b3d' name 'bbVectorYaw';
function VectorPitch(x:Single;y:Single;z:Single):Single;cdecl; external 'b3d' name 'bbVectorPitch';
function DeltaYaw(src:Integer;dest:Integer):Single;cdecl; external 'b3d' name 'bbDeltaYaw';
function DeltaPitch(src:Integer;dest:Integer):Single;cdecl; external 'b3d' name 'bbDeltaPitch';
procedure ResetEntity(o:Integer);cdecl; external 'b3d' name 'bbResetEntity';
procedure CaptureEntity(o:Integer);cdecl; external 'b3d' name 'bbCaptureEntity';
procedure EntityType(o:Integer;etype:Integer;recurs:Integer=0);cdecl; external 'b3d' name 'bbEntityType';
procedure EntityPickMode(o:Integer;mode:Integer;obs:Integer);cdecl; external 'b3d' name 'bbEntityPickMode';
function GetParent(e:Integer):Integer;cdecl; external 'b3d' name 'bbGetParent';
function GetEntityType(o:Integer):Integer;cdecl; external 'b3d' name 'bbGetEntityType';
procedure EntityRadius(o:Integer;x_radius:Single;y_radius:Single=0.0);cdecl; external 'b3d' name 'bbEntityRadius';
procedure EntityBox(o:Integer;x:Single;y:Single;z:Single;w:Single;h:Single;d:Single);cdecl; external 'b3d' name 'bbEntityBox';
function EntityCollided(o:Integer;etype:Integer):Integer;cdecl; external 'b3d' name 'bbEntityCollided';
function CountCollisions(o:Integer):Integer;cdecl; external 'b3d' name 'bbCountCollisions';
function CollisionX(o:Integer;index:Integer):Single;cdecl; external 'b3d' name 'bbCollisionX';
function CollisionY(o:Integer;index:Integer):Single;cdecl; external 'b3d' name 'bbCollisionY';
function CollisionZ(o:Integer;index:Integer):Single;cdecl; external 'b3d' name 'bbCollisionZ';
function CollisionNX(o:Integer;index:Integer):Single;cdecl; external 'b3d' name 'bbCollisionNX';
function CollisionNY(o:Integer;index:Integer):Single;cdecl; external 'b3d' name 'bbCollisionNY';
function CollisionNZ(o:Integer;index:Integer):Single;cdecl; external 'b3d' name 'bbCollisionNZ';
function CollisionTime(o:Integer;index:Integer):Single;cdecl; external 'b3d' name 'bbCollisionTime';
function CollisionEntity(o:Integer;index:Integer):Integer;cdecl; external 'b3d' name 'bbCollisionEntity';
function CollisionSurface(o:Integer;index:Integer):Integer;cdecl; external 'b3d' name 'bbCollisionSurface';
function CollisionTriangle(o:Integer;index:Integer):Integer;cdecl; external 'b3d' name 'bbCollisionTriangle';
function EntityDistance(src:Integer;dest:Integer):Single;cdecl; external 'b3d' name 'bbEntityDistance';
procedure MoveEntity(e:Integer;x:Single;y:Single;z:Single);cdecl; external 'b3d' name 'bbMoveEntity';
procedure TurnEntity(e:Integer;p:Single;y:Single;r:Single;global:Integer=0);cdecl; external 'b3d' name 'bbTurnEntity';
procedure TranslateEntity(e:Integer;x:Single;y:Single;z:Single;global:Integer=0);cdecl; external 'b3d' name 'bbTranslateEntity';
procedure PositionEntity(e:Integer;x:Single;y:Single;z:Single;global:Integer=0);cdecl; external 'b3d' name 'bbPositionEntity';
procedure ScaleEntity(e:Integer;x:Single;y:Single;z:Single;global:Integer=0);cdecl; external 'b3d' name 'bbScaleEntity';
procedure RotateEntity(e:Integer;p:Single;y:Single;r:Single;global:Integer=0);cdecl; external 'b3d' name 'bbRotateEntity';
procedure PointEntity(e:Integer;t:Integer;roll:Single=0);cdecl; external 'b3d' name 'bbPointEntity';
procedure AlignToVector(e:Integer;nx:Single;ny:Single;nz:Single;axis:Integer;rate:Single);cdecl; external 'b3d' name 'bbAlignToVector';
procedure NameEntity(e:Integer;t:PChar);cdecl; external 'b3d' name 'bbNameEntity';
function EntityName(e:Integer):PChar;cdecl; external 'b3d' name 'bbEntityName';
function EntityClass(e:Integer):PChar;cdecl; external 'b3d' name 'bbEntityClass';
procedure ClearWorld(e:Integer;b:Integer;t:Integer);cdecl; external 'b3d' name 'bbClearWorld';
procedure SetEntityID(e:Integer;id:Integer);cdecl; external 'b3d' name 'bbSetEntityID';
function EntityID(e:Integer):Integer;cdecl; external 'b3d' name 'bbEntityID';
function ActiveTextures():Integer;cdecl; external 'b3d' name 'bbActiveTextures';
implementation
end.
